package com.bys;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@MapperScan(basePackages = {"com.bys.**.mapper"})
@SpringBootApplication
@EnableGlobalMethodSecurity(prePostEnabled = true)//开启注解功能，默认禁用注解
public class BysCrmApplication {
    public static void main(String[] args) {
        SpringApplication.run(BysCrmApplication.class,args);
    }
}